package com.itheima.demo07;

public class IntegerClass {
    public static void main(String[] args) {
        String s1 = "100";
        int i1 = Integer.parseInt(s1);
        System.out.println(i1 + 1);

        Integer integer = Integer.valueOf(s1);
        int i2 = integer.intValue();
        System.out.println(i2 + 2);

        int i3 = 200;
        String s2 = String.valueOf(i3);
        System.out.println(s2 + 2);

        String s3 = i3 + "";
        System.out.println(s3 + 3);
    }
}
